/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.web.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.web.entity.WxCouponType;
import com.jeeplus.modules.web.mapper.WxCouponTypeMapper;

/**
 * 优惠券类型Service
 * @author rongjie
 * @version 2017-08-06
 */
@Service
@Transactional(readOnly = true)
public class WxCouponTypeService extends CrudService<WxCouponTypeMapper, WxCouponType> {

	public WxCouponType get(String id) {
		return super.get(id);
	}
	
	public List<WxCouponType> findList(WxCouponType wxCouponType) {
		return super.findList(wxCouponType);
	}
	
	public Page<WxCouponType> findPage(Page<WxCouponType> page, WxCouponType wxCouponType) {
		return super.findPage(page, wxCouponType);
	}
	
	@Transactional(readOnly = false)
	public void save(WxCouponType wxCouponType) {
		super.save(wxCouponType);
	}
	
	@Transactional(readOnly = false)
	public void delete(WxCouponType wxCouponType) {
		super.delete(wxCouponType);
	}
	
}